package com.lyx.Exercise;

public class MatrixTest {

    public static void main(String[] args) {
        Matrix matrix1 = new Matrix();
        Matrix matrix2 = new Matrix();
        Matrix matrix3 = new Matrix();

        for (int k = 0;k<5;k++){
            for (int i = 0;i<5;i++){
                for (int j = 0;j<5;j++){
                    matrix3.m[k][i] += (matrix1.m[k][j]) * (matrix2.m[j][i]);
                }
                System.out.print(matrix3.m[k][i]+"");
            }
            System.out.println();

        }


    }
}
